package com.usian.behavior.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.behavior.dtos.LikesBehaviorDto;
import com.usian.model.behavior.pojos.ApLikesBehavior;
import com.usian.model.common.dtos.ResponseResult;

/**
 * <p>
 * APP点赞行为表 服务类
 * </p>
 *
 * @author itusian
 */
public interface ApLikesBehaviorService extends IService<ApLikesBehavior> {
    /**
     * 存储喜欢数据
     * @param dto
     * @return
     */
    ResponseResult like(LikesBehaviorDto dto);

    /**
     * 查询点赞数据
     * @param articleId
     * @param entryId
     * @return
     */
    ApLikesBehavior getLike(Long articleId,Integer entryId);

}
